package com.khalil.kkadmin.system.dms;

import com.khalil.kkadmin.infrastructure.IService;
import com.khalil.kkadmin.system.dms.store.StoreType;

import java.util.List;

public interface DmsDocumentService extends IService<DmsDocument, Long> {
    List<DmsDocument> findByIdList(List<Long> idList);

    DmsDocument upload(FileInfo fileInfo);

    DmsDocument upload(List<String> pathArr, FileInfo fileInfo);

    DmsDocument upload(StoreType storeType, List<String> pathArr, FileInfo fileInfo);

    FileInfo download(Long id);
}
